package collection.list;

import java.util.Vector;

import org.junit.Test;

/**
 * @author jiangwz
 * @create 2021/3/10.
 */
public class TestVector {

    @Test
    public void test01(){
        // 和hashTable一样 底层全部加锁
        Vector<Integer> vector = new Vector<>();
        vector.add(1);
        vector.get(0);
    }
}
